Optimal. Leaf size=67 \[ \frac{(d x-c)^{3/2} (c+d x)^{3/2} \left (a d^2+b c^2\right )}{3 d^4}+\frac{b (d x-c)^{5/2} (c+d x)^{5/2}}{5 d^4} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0443008, antiderivative size = 72, normalized size of antiderivative = 1.07, number of steps used = 2, number of rules used = 2, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.069, Rules used = {460, 74} \[ \frac{(d x-c)^{3/2} (c+d x)^{3/2} \left (5 a d^2+2 b c^2\right )}{15 d^4}+\frac{b x^2 (d x-c)^{3/2} (c+d x)^{3/2}}{5 d^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 460
Rule 74
Rubi steps
\begin{align*} \int x \sqrt{-c+d x} \sqrt{c+d x} \left (a+b x^2\right ) \, dx &=\frac{b x^2 (-c+d x)^{3/2} (c+d x)^{3/2}}{5 d^2}-\frac{1}{5} \left (-5 a-\frac{2 b c^2}{d^2}\right ) \int x \sqrt{-c+d x} \sqrt{c+d x} \, dx\\ &=\frac{\left (2 b c^2+5 a d^2\right ) (-c+d x)^{3/2} (c+d x)^{3/2}}{15 d^4}+\frac{b x^2 (-c+d x)^{3/2} (c+d x)^{3/2}}{5 d^2}\\ \end{align*}
Mathematica [A] time = 0.03065, size = 62, normalized size = 0.93 \[ \frac{\sqrt{d x-c} \sqrt{c+d x} \left (d^2 x^2-c^2\right ) \left (5 a d^2+2 b c^2+3 b d^2 x^2\right )}{15 d^4} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 44, normalized size = 0.7 \begin{align*}{\frac{3\,b{d}^{2}{x}^{2}+5\,a{d}^{2}+2\,b{c}^{2}}{15\,{d}^{4}} \left ( dx+c \right ) ^{{\frac{3}{2}}} \left ( dx-c \right ) ^{{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.96054, size = 95, normalized size = 1.42 \begin{align*} \frac{{\left (d^{2} x^{2} - c^{2}\right )}^{\frac{3}{2}} b x^{2}}{5 \, d^{2}} + \frac{2 \,{\left (d^{2} x^{2} - c^{2}\right )}^{\frac{3}{2}} b c^{2}}{15 \, d^{4}} + \frac{{\left (d^{2} x^{2} - c^{2}\right )}^{\frac{3}{2}} a}{3 \, d^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.5493, size = 140, normalized size = 2.09 \begin{align*} \frac{{\left (3 \, b d^{4} x^{4} - 2 \, b c^{4} - 5 \, a c^{2} d^{2} -{\left (b c^{2} d^{2} - 5 \, a d^{4}\right )} x^{2}\right )} \sqrt{d x + c} \sqrt{d x - c}}{15 \, d^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x \left (a + b x^{2}\right ) \sqrt{- c + d x} \sqrt{c + d x}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.51827, size = 126, normalized size = 1.88 \begin{align*} \frac{{\left ({\left (d x + c\right )}{\left (3 \,{\left (d x + c\right )}{\left (\frac{d x + c}{d^{3}} - \frac{4 \, c}{d^{3}}\right )} + \frac{17 \, c^{2}}{d^{3}}\right )} - \frac{10 \, c^{3}}{d^{3}}\right )}{\left (d x + c\right )}^{\frac{3}{2}} \sqrt{d x - c} b + \frac{5 \,{\left (d x + c\right )}^{\frac{3}{2}}{\left (d x - c\right )}^{\frac{3}{2}} a}{d}}{15 \, d} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]